package responsibility.my;

import responsibility.problematic.Handler;

/**
 * @Author: Doream
 * @Date: 2022/1/29 21:38
 */
// 总经理，具体处理者
public class GeneralManager extends HandlerPeople {
    public GeneralManager() {
        super(7, null);
    }

    @Override
    protected void handleMode(LeaveRequest leaveRequest) {
        System.out.println(leaveRequest.getName()+"因为"+leaveRequest.getContent()+"请假"+leaveRequest.getNum()+"天");
        System.out.println("虽然万般不愿意，总经理还是同意了！");
    }
}
